#include <stdio.h>
#include <windows.h>
#include <strsafe.h>
#include "md5.h"
#include "ntdll.h"


#ifndef __ZAFILEEXP__
#define __ZAFILEEXP__
#endif

#ifdef NDEBUG
#define DEBUG 0
#else
#define DEBUG 1
#endif

//////////////////////////////////////////////////////////////////////////
#define STATUS_VALIDATE_CONTINUE 0xC0000271
#define TARGET_PATH "\\\\?\\globalroot\\systemroot"

// Enumeration definition


// Structure definitions
typedef struct _FILE_FS_VOLUME_INFORMATION {
	LARGE_INTEGER VolumeCreationTime;
	ULONG VolumeSerialNumber;
	ULONG VolumeLabelLength;
	BOOLEAN SupportsObjects;
	WCHAR VolumeLabel[1];
} FILE_FS_VOLUME_INFORMATION, *PFILE_FS_VOLUME_INFORMATION;

NTSYSAPI
	NTSTATUS
	NTAPI
	ZwFsControlFile(
	IN HANDLE FileHandle,
	IN HANDLE Event OPTIONAL,
	IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
	IN PVOID ApcContext OPTIONAL,
	OUT PIO_STATUS_BLOCK IoStatusBlock,
	IN ULONG FsControlCode,
	IN PVOID InputBuffer OPTIONAL,
	IN ULONG InputBufferLength,
	OUT PVOID OutputBuffer OPTIONAL,
	IN ULONG OutputBufferLength
	);